config BR2_PACKAGE_DBUS
	bool "dbus"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	# uses fork()
	depends on BR2_USE_MMU
	help
	  The D-Bus message bus system.

	  http://www.freedesktop.org/wiki/Software/dbus

choice
	prompt "XML library to use"
	depends on BR2_PACKAGE_DBUS
	default BR2_DBUS_EXPAT
	help
	  Select the XML library to use with D-Bus. Select Expat
	  unless you have specific reasons for using libxml2 as
	  Expat is significant smaller.

	config BR2_DBUS_EXPAT
		bool "Expat"
		select BR2_PACKAGE_EXPAT

	config BR2_DBUS_LIBXML2
		bool "libxml2"
		select BR2_PACKAGE_LIBXML2

endchoice

comment "dbus requires a toolchain with thread support"
	depends on !BR2_TOOLCHAIN_HAS_THREADS
